package org.ls.petclinic.dao;

import org.ls.petclinic.pojo.Owner;

import java.util.List;

public interface OwnerDao {
   List<Owner> getAll();
    List<Owner> getByName(String name);

    Owner getById(Long id);

    int add(Owner owner);

    int update(Owner owner);
}
